/**
 * Created by .
 * User: linx
 */
UE.commands['insert_video'] = {
    execCommand:function (cmd,opt) {
		var me  = this;
		var html=window.showModalDialog('fileupload.asp?ctl=file_media&act=view&insertnum=999&inserttype=view',window,'dialogWidth:740px;dialogHeight:550px;center:Yes;help:no;resizable:yes;scroll:yes;');
		if(html!=null){
			me.execCommand('insertHtml',html);
		}
	}
};